#include "stl.h"
#include "parse.h"
#include "solution.h"
int main(int argc, char *argv[])
{
    string str = "[[\"[[1,1,3,3],[3,1,4,2],[3,2,4,4],[1,3,2,4],[2,3,3,4]]\"],[\"[[1,1,2,3],[1,3,2,4],[3,1,4,2],[3,2,4,4]]\"],[\"[[1,1,3,3],[3,1,4,2],[1,3,2,4],[3,2,4,4]]\"],[\"[[1,1,3,3],[3,1,4,2],[1,3,2,4],[2,2,4,4]]\"]]";
    vector<vector<string>> arr = parseStringArrArr(str);
    for (int i = 0; i < arr.size(); i++)
    {
      vector<string> args = arr[i];
      Solution *s = new Solution();
      vector<vector<int>> arg0 = parseIntegerArrArr(args[0]);
      bool result=s->isRectangleCover(arg0);
      string resultabc =serializeBool(result);
      cout << "resultabc"+to_string(i)+":" << resultabc <<"resultend"<< endl;
    }
    return 0;
}